package com.easy.frame.servers.sys.vo;

import com.easy.frame.base.api.pojo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 点击新增层级返回对象
 *
 * @author tp
 * @date 2020/12/31 15:07
 */
@Setter
@Getter
@ToString
public class SysServerTypeVO extends BaseVO {

    private Long id;

    @ApiModelProperty("服务类型编号")
    private String code;

    @ApiModelProperty("完整编码")
    private String fullCode;

    @ApiModelProperty("外系统编号")
    private String outCode;

    @ApiModelProperty("业务类型")
    private String serverType;

    @ApiModelProperty("服务类型名称")
    private String name;

    @ApiModelProperty("长编码")
    private String path;

    @ApiModelProperty("父级长编码")
    private String parentPath;

    @ApiModelProperty("父级长编码")
    private String parentPathName;

    @ApiModelProperty("父级ID")
    private Long parentId;

    @ApiModelProperty("服务范围描述")
    private String serviceRange;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("是否服务客户")
    private Integer isCustomerService;

    @ApiModelProperty("排序")
    private Integer orderNum;

    @ApiModelProperty("是否叶节点 [0否 1是]")
    private Boolean leafNode;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

    @ApiModelProperty("标准工时")
    private BigDecimal standardWorkHours;

    @ApiModelProperty("企业是否启用（默认是1都启用）")
    private Integer tenantEnabled;
}
